import React from 'react';
import {connect} from 'react-redux';
import Index from '../pages/Index';

class IndexContainer extends React.Component {
    render() {
        return (
            <Index {...this.props} />
        )
    }
}

export default connect((state) => {
    const { homepageReducer } = state;
    return {
        homepageReducer
    }
})(IndexContainer);